package com.soladhoc.annonces.client.event;

import com.gwtplatform.dispatch.annotation.GenEvent;
import com.gwtplatform.dispatch.annotation.Order;
import com.soladhoc.annonces.shared.proxy.AnnonceProxy;

@GenEvent
public class AnnonceAction {

	public static enum Action {
		DETAIL,
		EDIT,
		DELETE,
		ADD
	}
	
	@Order(1)
	AnnonceProxy annonce;
	
	@Order(2)
	Action action;
}
